- 
		Home
	
- 
LiteSpeed Cache
- 
4.5.0.1
- 
Code
- 
Classes
-  REST 
		
			
				
					
													
								
																			
											| Total Complexity | 26 | 
																			
											| Dependencies | 5 | 
																			
											| Dependents | 2 | 
																	
							 
													
								
																			
											| Total lines | 259 | 
																			
											| Lines of code | 117 | 
																			
											| Logical lines of code | 44 | 
																	
							 
													
								
																			
											| Comment lines | 104 | 
																			
											| Methods | 16 | 
																			
											| Properties | 1 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 16
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| is_rest() | A | 55 | 8 | 18 | 
					
				| rest_api_init() | S | 46 | 2 | 49 | 
					
				| toggle_crawler_state() | S | 72 | 3 | 5 | 
					
				| __construct() | S | 72 | 1 | 5 | 
					
				| is_from_cloud() | S | 82 | 1 | 3 | 
					
				| token_get() | S | 81 | 1 | 3 | 
					
				| ping() | S | 79 | 1 | 3 | 
					
				| check_ip() | S | 81 | 1 | 3 | 
					
				| ip_validate() | S | 80 | 1 | 3 | 
					
				| token() | S | 80 | 1 | 3 | 
					
				| apikey() | S | 80 | 1 | 3 | 
					
				| notify_img() | S | 81 | 1 | 3 | 
					
				| check_img() | S | 81 | 1 | 3 | 
					
				| set_internal_rest_on() | S | 73 | 1 | 5 | 
					
				| set_internal_rest_off() | S | 73 | 1 | 5 | 
					
				| is_internal_rest() | S | 82 | 1 | 3 |